package com.bean;

import java.sql.Timestamp;

/**
 * Loss entity. @author MyEclipse Persistence Tools
 */

public class Loss implements java.io.Serializable {

	// Fields

	private Integer lossId;
	private Bookinformation bookinformation;
	private User user;
	private String lossPayMoney;
	private Timestamp lossTime;

	// Constructors

	/** default constructor */
	public Loss() {
	}

	/** full constructor */
	public Loss(Bookinformation bookinformation, User user,
			String lossPayMoney, Timestamp lossTime) {
		this.bookinformation = bookinformation;
		this.user = user;
		this.lossPayMoney = lossPayMoney;
		this.lossTime = lossTime;
	}

	// Property accessors

	public Integer getLossId() {
		return this.lossId;
	}

	public void setLossId(Integer lossId) {
		this.lossId = lossId;
	}

	public Bookinformation getBookinformation() {
		return this.bookinformation;
	}

	public void setBookinformation(Bookinformation bookinformation) {
		this.bookinformation = bookinformation;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getLossPayMoney() {
		return this.lossPayMoney;
	}

	public void setLossPayMoney(String lossPayMoney) {
		this.lossPayMoney = lossPayMoney;
	}

	public Timestamp getLossTime() {
		return this.lossTime;
	}

	public void setLossTime(Timestamp lossTime) {
		this.lossTime = lossTime;
	}

}